services:
  kuboard:
    image: registry.cn-hangzhou.aliyuncs.com/weizhihui/kuboard:v3
    container_name: kuboard
    restart: always
    ports:
      - '2080:80'
      - '10081:10081'
    volumes:
      - {{ monitoring_volumes }}:/data
    environment:
      - KUBOARD_ENDPOINT=http://{{ ansible_host }}:2080
      - KUBOARD_AGENT_SERVER_TCP_PORT=10081
    networks:
      monitor:

networks:
  monitor:
    external: true
